package domain;

import java.util.Date;

public class ProfilePhoto {
    private Integer id;
    private Integer userId;
    private String pictureStr;
    private Date uploadTime;

    public ProfilePhoto() {
    }

    public ProfilePhoto(Integer id, Integer userId, String pictureStr, Date uploadTime) {
        this.id = id;
        this.userId = userId;
        this.pictureStr = pictureStr;
        this.uploadTime = uploadTime;
    }

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public Integer getUserId() {
        return userId;
    }

    public void setUserId(Integer userId) {
        this.userId = userId;
    }

    public String getPictureStr() {
        return pictureStr;
    }

    public void setPictureStr(String pictureStr) {
        this.pictureStr = pictureStr;
    }

    public Date getUploadTime() {
        return uploadTime;
    }

    public void setUploadTime(Date uploadTime) {
        this.uploadTime = uploadTime;
    }

    @Override
    public String toString() {
        return "ProfilePhoto{" +
                "id=" + id +
                ", userId=" + userId +
                ", pictureStr='" + pictureStr + '\'' +
                ", uploadTime=" + uploadTime +
                '}';
    }
}
